package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Menu;

public interface MenuService {
    public Result findAll(String username);

    PageResult selectAllByName(QueryPageBean queryPageBean);

    Result add(Menu menu);

    Result update(Menu menu);

    Result delete(int id);

    Result selectAll();

    Result findByPath(int path);

    Result findAllMenu();
}
